import { Button } from "antd"
import { useNavigate } from "react-router-dom"

export default () => {
  const r = useNavigate()

  const goHome = () => {
    r("/app/home", {})
  }
  return (
    <>
      detail Page
      <Button onClick={goHome}>Home123</Button>
    </>
  )
}
